//转载自陈清扬小姐姐

describe('beersongs', function () {
    const main = require('../src/beer.js');
    const beersongs = require('../src/beersong');
      it('output 99 beer song', function() {
        let num = 99;
        let result  = main(num);
        let expected = beersongs().trim();
        expect(result).toEqual(expected);
      });
    });